package com.ylsk.check.domain;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ylsk.common.core.domain.MybatisPlusBaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ylsk.common.annotation.Excel;
import com.ylsk.common.core.domain.BaseEntity;

/**
 * 施工检查记录对象 ins_check_record
 *
 * @author yangsy
 * @date 2023-12-18
 */
@TableName("ins_check_record")
public class CheckRecord extends MybatisPlusBaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 施工检查记录id */
    @TableId
    private Long checkRecordId;

    /** 施工报备id */
    private Long reportInfoId;

    /**施工状态 0:未进场 1:非占道施工  2:占道施工 3:撤场  4:结束 */
    private Integer constructionStatus;

    /** 检查类型 */
    private Integer checkType;

    /** 检查内容 */
    private String checkContent;

    /** 检查方式 */
    private Integer checkMethod;

    /** 现场联系人 */
    private String head;

    /** 联系电话 */
    private String telePhone;

    /** 问题描述 */
    private String problemDesc;

    /** 问题现场照及视频 */
    private Long problemFileId;

    /** 经度 */
    @TableField(fill = FieldFill.INSERT)
    private BigDecimal longitude;

    /** 纬度 */
    @TableField(fill = FieldFill.INSERT)
    private BigDecimal latitude;

    /** 道路名称 */
    @TableField(fill = FieldFill.INSERT)
    private String roadName;

    /** 方向 */
    @TableField(fill = FieldFill.INSERT)
    private String direction;

    /** 所属大队 */
    private Long deptId;

    /** 检查人 */
    private Long checkBy;

    /** 同行检查人 */
    private Long peerReviewer;

    /** 是否通知施工方 */
    private Integer isNoticeCons;

    /** 上报业务数据id */
    private Long reportBusinessId;

    /** 数据来源 表名称 */
    private String tbName;

    /** 任务检查id */
    private Long checkTaskId;

    public void setCheckRecordId(Long checkRecordId)
    {
        this.checkRecordId = checkRecordId;
    }

    public Long getCheckRecordId()
    {
        return checkRecordId;
    }
    public void setReportInfoId(Long reportInfoId)
    {
        this.reportInfoId = reportInfoId;
    }

    public Long getReportInfoId()
    {
        return reportInfoId;
    }
    public void setCheckType(Integer checkType)
    {
        this.checkType = checkType;
    }

    public Integer getCheckType()
    {
        return checkType;
    }
    public void setCheckContent(String checkContent)
    {
        this.checkContent = checkContent;
    }

    public String getCheckContent()
    {
        return checkContent;
    }
    public void setCheckMethod(Integer checkMethod)
    {
        this.checkMethod = checkMethod;
    }

    public Integer getCheckMethod()
    {
        return checkMethod;
    }
    public void setHead(String head)
    {
        this.head = head;
    }

    public String getHead()
    {
        return head;
    }
    public void setTelePhone(String telePhone)
    {
        this.telePhone = telePhone;
    }

    public String getTelePhone()
    {
        return telePhone;
    }
    public void setProblemDesc(String problemDesc)
    {
        this.problemDesc = problemDesc;
    }

    public String getProblemDesc()
    {
        return problemDesc;
    }
    public void setProblemFileId(Long problemFileId)
    {
        this.problemFileId = problemFileId;
    }

    public Long getProblemFileId()
    {
        return problemFileId;
    }
    public void setLongitude(BigDecimal longitude)
    {
        this.longitude = longitude;
    }

    public BigDecimal getLongitude()
    {
        return longitude;
    }
    public void setLatitude(BigDecimal latitude)
    {
        this.latitude = latitude;
    }

    public BigDecimal getLatitude()
    {
        return latitude;
    }
    public void setRoadName(String roadName)
    {
        this.roadName = roadName;
    }

    public String getRoadName()
    {
        return roadName;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setCheckBy(Long checkBy)
    {
        this.checkBy = checkBy;
    }

    public Long getCheckBy()
    {
        return checkBy;
    }
    public void setPeerReviewer(Long peerReviewer)
    {
        this.peerReviewer = peerReviewer;
    }

    public Long getPeerReviewer()
    {
        return peerReviewer;
    }
    public void setIsNoticeCons(Integer isNoticeCons)
    {
        this.isNoticeCons = isNoticeCons;
    }

    public Integer getIsNoticeCons()
    {
        return isNoticeCons;
    }

    public Long getReportBusinessId() {
        return reportBusinessId;
    }

    public void setReportBusinessId(Long reportBusinessId) {
        this.reportBusinessId = reportBusinessId;
    }

    public String getTbName() {
        return tbName;
    }

    public void setTbName(String tbName) {
        this.tbName = tbName;
    }


    public String getDirection() {
        return direction;
    }

    public void setDirection(String direction) {
        this.direction = direction;
    }

    public Integer getConstructionStatus() {
        return constructionStatus;
    }

    public void setConstructionStatus(Integer constructionStatus) {
        this.constructionStatus = constructionStatus;
    }

    public Long getCheckTaskId() {
        return checkTaskId;
    }

    public void setCheckTaskId(Long checkTaskId) {
        this.checkTaskId = checkTaskId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("checkRecordId", getCheckRecordId())
            .append("reportInfoId", getReportInfoId())
            .append("checkType", getCheckType())
            .append("checkContent", getCheckContent())
            .append("checkMethod", getCheckMethod())
            .append("head", getHead())
            .append("telePhone", getTelePhone())
            .append("problemDesc", getProblemDesc())
            .append("problemFileId", getProblemFileId())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("roadName", getRoadName())
            .append("deptId", getDeptId())
            .append("checkBy", getCheckBy())
            .append("peerReviewer", getPeerReviewer())
            .append("isNoticeCons", getIsNoticeCons())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
